![]() |
GetIndexedCollectionItemHdl |
||||
Header: | Collections.h | Carbon status: | Supported | |
Copies the variable-length data associated with a collection item into a Macintosh Memory Manager handle, given the item’s collection index.
OSErr GetIndexedCollectionItemHdl ( Collection aCollection, SInt32 index, Handle itemData );
A reference to the collection object containing the item whose data you want to retrieve. The behavior of this function is undefined if you do not provide a reference to a valid collection object.
The collection index associated with the item whose data you want to retrieve.
A handle to a block of memory to contain the item’s data. On return, this memory contains a copy of the data associated with the specified item.
A result code.
To retrieve the data associated with a collection item into a block of memory referenced by a pointer (rather than a handle), use the GetCollectionItem function.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)